package com.example.cloudalibabaconsumernacosorder84.service.fallBack;

import com.example.cloudalibabaconsumernacosorder84.service.PaymentService;
import com.ljy.springcloud.entities.CommonResult;
import com.ljy.springcloud.entities.Payment;
import org.springframework.stereotype.Component;

@Component
public class PaymentServiceFallBack implements PaymentService {

    @Override
    public CommonResult<Payment> paymentSQL(Long id) {
        return new CommonResult<Payment>(444,this.getClass().toString()+"的兜底方法");
    }
}
